import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'
import loginVoice from '@/components/login-voice'
import loginVoiceRegist from '@/components/login-voice-regist'
import voiceIdentify from '@/components/voice-identify'
import main from '@/components/main'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/login/voice',
      name: 'loginVoice',
      component: loginVoice
    },
    {
      path: '/login/voice-regist',
      name: 'loginVoiceRegist',
      component: loginVoiceRegist
    },
    {
      path: '/voice-identify',
      name: 'voiceIdentify',
      component: voiceIdentify
    },
    {
      path: '/main',
      name: 'main',
      component: main
    }
  ]
})
